package com.couldsail.takeaway.constant;

public class OrdersConstant{
    // 订单状态
    public static final Integer ORDER_STATUS_WAIT_PAY = 1; // 待付款
    public static final Integer ORDER_STATUS_WAIT_ACCEPT = 2; // 待接单
    public static final Integer ORDER_STATUS_ACCEPTED = 3; // 已接单
    public static final Integer ORDER_STATUS_DELIVERING = 4; // 派送中
    public static final Integer ORDER_STATUS_COMPLETED = 5; // 已完成
    public static final Integer ORDER_STATUS_CANCELLED = 6; // 已取消
    public static final Integer ORDER_STATUS_REFUNDED = 7; // 退款
    // 堂食 外卖
    public static final Integer ORDER_STATUS_CURRENT = 0;// 堂食
    public static final Integer ORDER_STATUS_SUB = 1; // 外卖
    // 支付方式
    public static final Integer PAY_METHOD_WECHAT = 1; // 微信
    public static final Integer PAY_METHOD_ALIPAY = 2; // 支付宝
    public static final Integer PAY_METHOD_CASH=3;

    // 支付状态
    public static final Integer PAY_STATUS_UNPAID = 0; // 未支付
    public static final Integer PAY_STATUS_PAID = 1; // 已支付
    public static final Integer PAY_STATUS_REFUND = 2; // 退款

    // 配送状态
    public static final Integer DELIVERY_STATUS_IMMEDIATELY = 1; // 立即送出
    public static final Integer DELIVERY_STATUS_SCHEDULED = 0; // 选择具体时间

    // 商品详情类型0-商品 1-其他
    public static final String ORDER_DETAIL_TYPE_PRODUCT = "0"; // 商品
    public static final String ORDER_DETAIL_TYPE_OTHER = "1"; // 其他


}
